package com.shire.shire_interface.dao.marketing;

import com.shire.shire_interface.model.marketing.WxNewResponse;
import com.shire.shire_interface.model.marketing.WxNewResponseExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface WxNewResponseDao {
    long countByExample(WxNewResponseExample example);

    int deleteByExample(WxNewResponseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxNewResponse record);

    int insertSelective(WxNewResponse record);

    List<WxNewResponse> selectByExampleWithBLOBs(WxNewResponseExample example);

    List<WxNewResponse> selectByExample(WxNewResponseExample example);

    WxNewResponse selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxNewResponse record, @Param("example") WxNewResponseExample example);

    int updateByExampleWithBLOBs(@Param("record") WxNewResponse record, @Param("example") WxNewResponseExample example);

    int updateByExample(@Param("record") WxNewResponse record, @Param("example") WxNewResponseExample example);

    int updateByPrimaryKeySelective(WxNewResponse record);

    int updateByPrimaryKeyWithBLOBs(WxNewResponse record);

    int updateByPrimaryKey(WxNewResponse record);
}